Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nice_things/auth/start_user_id.sh

readonly:start_user_id

Since 0.3.0 · Source

import "{ readonly:start_user_id }" from nice_things/auth/start_user_id.sh

Synopsis
"${start_user_id}"

Configuration

Description
The id of the user who started the program.

Options

Operands

Stdin

Stdout

Stderr
log_error.

Exit status

  • 0: Successful definition.
  • 13: Failed to get user id (on initialization) (abort).

Abort
Aborts if initialization fails.

Usage examples

log_debug "Program started by UID: ${start_user_id}"